#include "log.h"
#include "init_systems.h"
#include "time_tools.h"

#include "../Util/Conf.h"
#include "SampleCollector.h"
using namespace kthrobot;
using namespace Group5;

int main (int argc, char **argv) {
  Init::RegisterCommon();
  if (!Init::Systems(argc, argv)) return 1;

  {
    SampleCollector::PREF = "";
    SampleCollector&sc = SampleCollector::get();
    sc.Collect();
    TimeTools::WaitMS(60000);
    sc.Stop();
  }

  kthrobot::Init::Shutdown();
  return 0;
}
